﻿
#ifndef __wind_mgr_h__
#define __wind_mgr_h__

#include <project.h>
#include <comm_view.h>

// 业务窗口管理
class CWindMgr
{
public:
    static CWindMgr *ins()
    {
        static CWindMgr ins;
        return &ins;
    }

    void showWind(emWindowID ID);

public:
    void showMain();
    bool exists(emWindowID ID);
    void closeWindow(int windID);
    void closeOther(emWindowID Id);

protected:
    CWindMgr(){}
};

extern CWindMgr *g_objWindMgr;

#endif
